
#ifndef CSCodec_h__
#define CSCodec_h__
#include "IObject/IPacketCodec.h"
class CSCodec : public IPacketCodec
{
public:
	CSCodec();
	virtual ~CSCodec();

	virtual RawPacket*  PacketDecode(const void* buffer, uint32_t size);
	virtual SendBuffer* PacketEncode(const void* buffer, uint32_t size, CONTENT_TYPE type);

	virtual	void DeleteRawPacket(RawPacket * packet);
	virtual	void DeleteSendBuffer(SendBuffer * sendBuffer);
};


#endif // CSCodec_h__
